$OpenBSD: patch-Makefile_in,v 1.8 2017/04/29 22:24:15 rsadowski Exp $
--- Makefile.in.orig	Sun May 15 19:18:04 2016
+++ Makefile.in	Mon Apr 24 00:59:18 2017
@@ -542,7 +542,7 @@ xboard_SOURCES = backend.c backend.h backendz.h \
 
 ###
 SUBDIRS = po
-xboard_LDADD = -ldl -lm @FRONTEND_LIBS@ @X_LIBS@ @LIBINTL@ @CAIRO_LIBS@
+xboard_LDADD = -lm @FRONTEND_LIBS@ @X_LIBS@ @LIBINTL@ @CAIRO_LIBS@
 EXTRA_DIST = pixmaps themes png sounds winboard \
 	xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop xboard-config.desktop \
 	xboard-fen-viewer.desktop  xboard-pgn-viewer.desktop  xboard-tourney.desktop xboard.xml \
